package com.fhMall.api;

import com.fhMall.request.AddMemberCouponRequest;
import com.fhMall.request.DeleteMemberCouponRequest;
import com.fhMall.request.QueryMemberCouponRequest;
import com.fhMall.request.SaveMemberCouponRequest;
import org.springframework.web.bind.annotation.*;

/**
 * 程序名：.java<br>
 * 程序功能 <br>
 * 作成者：xianlin <br>
 * 日期：2019-10-23 18:04<br>
 * 修改履历 <br>
 * 项目名    状态      作成者      日期   <br>
 * --------------------------------------- <br>
 * 新规      xianlin   2019-10-23 18:04 <br>
 * ----------------------------- <br>
 */
public interface CouponFacade {

    @PostMapping(value = "/ems/emsCoupon/queryMemberCoupon")
    @ResponseBody
    String queryMemberCoupon(@RequestBody QueryMemberCouponRequest queryMemberCouponRequest);

    @PostMapping("/ems/emsCoupon/getCoupon")
    @ResponseBody
    String saveMemberCoupon(@RequestBody SaveMemberCouponRequest saveMemberCouponRequest);

    @DeleteMapping("/ems/emsCoupon/deleteCoupon")
    @ResponseBody
    String deleteMemberCoupon(@RequestBody DeleteMemberCouponRequest deleteMemberCouponRequest);

    @PostMapping("/ems/emsCoupon/addMemberCoupon")
    @ResponseBody
    String addMemberCoupon(@RequestBody AddMemberCouponRequest addMemberCouponRequest);
}
